
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>资费说明</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/bootstrap/css/bootstrap.min.css">
    <style>
        html, body {
            height: 100%; /* 确保父元素高度占满视口 */
        }
        .centered-wrapper {
            display: flex;
            min-height: 100vh; /* 使用视口高度单位 */
            align-items: center; /* 垂直居中 */
            justify-content: center; /* 水平居中 */
            padding: 20px;
        }
        .fee-container {
            width: 100%;
            max-width: 800px;
            padding: 30px;
            background: #f8f9fa;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .fee-header {
            color: #007bff;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #dee2e6;
        }
    </style>
</head>
<body>
    <div class="centered-wrapper">
        <div class="fee-container">
            <h1 class="text-center fee-header">资费说明</h1>
            <div class="fee-content">
                <c:if test="${not empty msg}">
                    <div class="alert alert-info text-center">${msg}</div>
                </c:if>
                <div class="text-center my-4">
                    <p>这里是详细的资费说明内容...</p>
                </div>
                <div class="text-center mt-4">
                    <button class="btn btn-primary px-4" 
                            onclick="window.location.href='${pageContext.request.contextPath}/user/index'">
                        返回首页
                    </button>
                </div>
            </div>
        </div>
    </div>
    <script src="${pageContext.request.contextPath}/static/bootstrap/js/bootstrap.bundle.min.js"></script>
</body>
</html>
